package com.mycat.core.service;

import com.mycat.core.pojo.Book;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("bookService")
public interface BookService {

    public List<Book> queryAll();

    public Book queryById(int bid);

    public void deleteById(int bid);

    public void update(Book book);

    public void insert(Book book);
}
